<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
 * PISOneAM
 *
 * 专业IT监控系统
 *
 * @package		PISOneAM
 * @author		ExpressionEngine Dev Team
 * @copyright	Copyright (c) 2008 - 2011, EllisLab, Inc.
 * @license		http://www.m135.com/license.html
 * @link		http://www.m135.com
 * @since		Version 1.0
 * @filesource
 */

class Notes extends DK_auth
{
	
	function index()
	{
		$pdata["topic"] = $this->get_systopic();
		//print_r($data);
		$this->load->view("basic/top");
		$this->load->view("basic/siderbar");
		$this->load->view("Notes/writenotes",$pdata);
	}
	
	/**
	* 获取系统话题
	* @author PISOne项目开发团队  
	* @param 
	* @return int/bool/object/array
	*/
	function get_systopic()
	{
		$this->load->model('mnote_topic');
		$data=$this->mnote_topic->get_systopic();
		return $data;
	}
	
	
}
